<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加博客</title>
</head>
<body>
    <h1>添加博客</h1>    
    <form action="/add/article" method="post" enctype="multipart/form-data">
        标题：<input type="text" name="title"/><br/>
        内容: <textarea type="text" name="content"></textarea><br/>
        类型：<input type="text" name="type" value="phone"/><br/>
        图片：<input type="file" name="pic_url"><br/>
        用户id：<input type="text" name="user_id" value="6789b4dc-ca8e-4a5c-b574-dcab994192f0"/><br/>
        日期：<input type="text" name="created_time" value="{{date}}"/><br/>
        <button type="submit">提交</button>
        <button type="reset">重写</button>
    </form>
</body>
</html>